import { $t } from "@/plugins/i18n";

const Layout = () => import("@/layout/index.vue");

export default {
  path: "/activities",
  redirect: "/activities/index",
  component: Layout,
  meta: {
    title: $t("热门活动管理") || "活动管理",
    rank: 2,
    icon: "ant-design:calendar-filled"
  },
  children: [
    {
      path: "/activities/index",
      name: "Activities",
      component: () => import("@/views/activities/index.vue"),
      meta: {
        title: $t("热门活动管理") || "活动管理",
        showLink: true
      }
    }
  ]
};
